package com.qianli.user.ro.info;

import com.qianli.user.ro.BaseRO;
import com.qianli.user.ro.auth.BankCreditRO;
import com.qianli.user.ro.auth.ZMCreditRO;

import java.io.Serializable;
import java.util.List;

/**
 * name:用户认证信息
 * auth:ting.li@qianli-inc.com
 * date:2017/12/27 13:38
 * version: v1.0.0
 **/
public class UserCreditAuthInfoRO extends BaseRO implements Serializable{

    private static final long serialVersionUID = -5172315155334775798L;

    /**
     * 认证类型
     * @see com.qianli.user.enums.CreditAuthTypeEnum
     */
    private Integer authType;

    /**
     * 是否认证成功
     */
    private Boolean authorized = false;

    /**
     * 芝麻认证
     */
    private ZMCreditRO         zmCredit;
    /**
     * 银行卡认证
     */
    private List<BankCreditRO> bankCredits;

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public Boolean getAuthorized() {
        return authorized;
    }

    public void setAuthorized(Boolean authorized) {
        this.authorized = authorized;
    }

    public ZMCreditRO getZmCredit() {
        return zmCredit;
    }

    public void setZmCredit(ZMCreditRO zmCredit) {
        this.zmCredit = zmCredit;
    }

    public List<BankCreditRO> getBankCredits() {
        return bankCredits;
    }

    public void setBankCredits(List<BankCreditRO> bankCredits) {
        this.bankCredits = bankCredits;
    }
}
